﻿namespace MOKA.TPM.Entity;

/// <summary>
/// 平板登录专用
/// </summary>
public class UserToken
{
    /// <summary>
    /// 令牌
    /// </summary>
    public string Token { get; set; }

    /// <summary>
    /// 用户名
    /// </summary>
    public string UserId { get; set; }

    /// <summary>
    /// 令牌有效期
    /// </summary>
    public DateTime Timeout { get; set; }

    /// <summary>
    /// 真实名称
    /// </summary>
    public string UserName { get; set; }

    /// <summary>
    /// OQA专门使用（在线、在室)登录界面有下拉框
    /// </summary>
    public string CheckType { get; set; }

    /// <summary>
    /// OQA测试产品所属阶段
    /// </summary>
    public string OBAPhase { get; set; }

    /// <summary>
    /// 真实名称
    /// </summary>
    public string UserAccount { get; set; }

    public string PassWord { get; set; }

    /// <summary>
    /// 客户端名称
    /// </summary>
    public string AppName { get; set; }
}

public class ExsitToken
{
    public bool Rs { get; set; }
}

public class LoginUser
{
    public string UserName { get; set; }
    public string PassWord { get; set; }

    /// <summary>
    /// OQA专门使用（在线、在室)登录界面有下拉框
    /// </summary>
    public string CheckType { get; set; }

    /// <summary>
    /// OQA测试产品所属阶段
    /// </summary>
    public string OBAPhase { get; set; }

    /// <summary>
    /// 客户端名称
    /// </summary>
    public string AppName { get; set; }
}

public class IsUpdate
{
    public bool IsUp { get; set; }
    public string Version { get; set; }
    public string Source { get; set; }
    public string UpdateDate { get; set; }
}